var $,
    layer,
    form,
    table;

layui.use(['jquery', 'layer', 'table', 'form'], function () {
    $ = layui.jquery,
        layer = layui.layer,
        form = layui.form,
        table = layui.table;
});

//搜索
function search() {
    var data = form.val('filter');
    parent.getUseData('', '', '', '', '', data.email, data.phone, data.idCard, data.status, data.sex, data.enabled);
    var index = parent.layer.index;
    parent.layer.close(index);
}